package com.yj.ccs.abs.web.management.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yj.ccs.abs.common.enums.CompanyNatureType;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/15
 * Author     : Unbelievable9
 **/
@Data
public class Company {

    private Long id;

    private String name;

    private String short_name;

    private String area_code;

    private String address;

    private String industry;

    private CompanyNatureType nature;

    private String representative;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime create_time;
}
